package com.cjl.dental_clinic.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cjl.dental_clinic.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 处方详细信息表，关联处方和药品(Prescriptiondetail)实体类
 *
 * @author makejava
 * @since 2024-04-12 17:10:31
 */
@Data
@Accessors(chain = true)
@TableName("prescriptiondetail")
public class Prescriptiondetail extends BaseEntity {
    // 处方ID
    @TableField("prescription_id")
    private Integer prescriptionId;
    // 药品ID
    @TableField("medicine_id")
    private Integer medicineId;
    // 数量
    @TableField("quantity")
    private Integer quantity;
    // 订单id
    @TableField("order_id")
    private String orderId;
}


